<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>CommonDevelopment Platform</title>
<!-- Mobile Specific Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 

<!-- Stylesheets -->
<link rel="stylesheet" href="static/css/normalize.css">
<style type="text/css">
.bottom_10{
margin-bottom:10px;
}
</style>
</head>
<body>
<div class="login">
	<h1>登陆OR注册</h1>
	<form action="login" method="post">
		<input type="text" name="username" placeholder="用户名" required="required" />
		<input type="password" name="password" placeholder="密码" required="required" />
		<button type="submit" class="btn btn-primary btn-block btn-large bottom_10">登录</button>
		<button type="button" class="btn btn-primary btn-block btn-large" onclick="javascript:window.location.href='register'">注册</button>
	</form>
	${error }
</div>
</body>
</html>